package com.pureut.order.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @Author: 小贺
 * @Date: 2023/7/5 16:44
 * @Desc: 客户类别vo
 */
@Data
public class SysCustomVo {

    /**
     * 客户类别id
     */
    private Long customId;

    /**
     * 类别编码
     */
    @Size(min = 0, max = 64, message = "类别编码长度不能超过64个字符")
    private String typeCode;

    /**
     * 类别名称
     */
    @NotBlank(message = "类别名称不能为空")
//    @Size(min = 0, max = 64, message = "岗位编码长度不能超过64个字符")
    private String typeName;

    /**
     * 编码规则
     */
    private String codeRule;

}
